package pack0711;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

//演示打印输出字符流的使用
public class PrintWriterDemo {

    public static void main(String[] args) throws Exception {
        PrintWriter pw=new PrintWriter("a.txt");

        pw.println("就开始拿");
        pw.print(true);
        pw.print(20);

        pw.close();
    }
}
